package com.carbon.notice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carbon.model.BaseModel;
import com.carbon.notice.controller.NoticeAppendixController;

import java.util.List;

/**
 * <p>
 * 碳资讯信息
 * </p>
 *
 * @author jobob
 * @since 2021-06-29
 */
@TableName("t_carbonnews_info")
public class CarbonnewsInfo extends BaseModel {

    /**
     * 资讯标题
     */
    private String title;

    /**
     * 资讯类型
     */
    private String type;

    /**
     * 作者
     */
    private String author;

    /**
     * 资讯级别
     */
    private String level;

    /**
     * 资讯状态
     */
    private String status;

    /**
     * 碳讯导读
     */
    private String readingGuide;

    /**
     * 碳讯栏目
     */
    private String newsColumn;

    /**
     * 碳讯位置
     */
    private String location;

    /**
     * 碳讯内容
     */
    private String content;

    /**
     * 标签
     */
    private String label;

     /**
     * @Description 附件列表
     */
    @TableField(exist = false)
    List<NoticeAppendix> appendixList;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getReadingGuide() {
        return readingGuide;
    }

    public void setReadingGuide(String readingGuide) {
        this.readingGuide = readingGuide;
    }

    public String getNewsColumn() {
        return newsColumn;
    }

    public void setNewsColumn(String newsColumn) {
        this.newsColumn = newsColumn;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return "CarbonnewsInfo{" +
                "title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", author='" + author + '\'' +
                ", level='" + level + '\'' +
                ", status='" + status + '\'' +
                ", readingGuide='" + readingGuide + '\'' +
                ", newsColumn='" + newsColumn + '\'' +
                ", location='" + location + '\'' +
                ", content='" + content + '\'' +
                ", label='" + label + '\'' +
                '}';
    }

    public List<NoticeAppendix> getAppendixList() {
        return appendixList;
    }

    public void setAppendixList(List<NoticeAppendix> appendixList) {
        this.appendixList = appendixList;
    }
}
